package ch.ifage.business.dom;

import java.io.Serializable;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
 /**
 * Modele d'un assureur.
 * @author Betty Ba
 *
 */

/** *correspond a la table assureurs de la base de donnees.*/
@Entity
@Table(name = "assureurs")
@DiscriminatorValue("A")
public class Assureur extends Entreprise implements Serializable {
	/**
	 * serialisation
	 */
	private static final long serialVersionUID = -6008092152929978277L;
	/**
	 * identification de l'assureur.
	 */	
	@Id
	@Column(name =	"id_assureur")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private int mId;
  /** *Constructeur.*/
   public Assureur() {
      super();
  }
}
